package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 会员聊天对象 chat_record
 *
 * @author ruoyi
 * @date 2023-06-25
 */
public class ChatRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 聊天记录表主键 */
    private Long id;

    /** 关联会员ID */
    @Excel(name = "关联会员ID")
    private Long customerId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 课程编号 */
    @Excel(name = "课程编号")
    private Long courseNo;

    /** 聊天内容类型(0欢迎回来 1主流程） */
    @Excel(name = "聊天内容类型(0欢迎回来 1主流程）")
    private Integer chatType;

    /** 聊天模板标识 */
    @Excel(name = "聊天模板标识")
    private String chatFlag;

    /** 聊天来源(0虚拟人 1自己) */
    @Excel(name = "聊天来源(0虚拟人 1自己)")
    private Long role;

    /** 输入类型(0：文字 1：单项选择 2：输入框 3：按钮 4：视频训练卡片 5：脑力训练卡片 6：每日报告卡片 7：七日报告卡片 8：二十八日报告卡片 9：更多功能 10：续费卡片） */
    @Excel(name = "输入类型(0：文字 1：单项选择 2：输入框 3：按钮 4：视频训练卡片 5：脑力训练卡片 6：每日报告卡片 7：七日报告卡片 8：二十八日报告卡片 9：更多功能 10：续费卡片）")
    private Integer inputType;

    /** 答案类型(1:正确 0：不正确） */
    @Excel(name = "答案类型(1:正确 0：不正确）")
    private Integer answerType;

    /** 聊天内容 */
    @Excel(name = "聊天内容")
    private String content;

    /** 聊天记录内容（整个记录所有字段） */
    private String recordContent;

    /** 下一个聊天标识 */
    @Excel(name = "下一个聊天标识")
    private String nextChatFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setCourseNo(Long courseNo)
    {
        this.courseNo = courseNo;
    }

    public Long getCourseNo()
    {
        return courseNo;
    }
    public void setChatType(Integer chatType)
    {
        this.chatType = chatType;
    }

    public Integer getChatType()
    {
        return chatType;
    }
    public void setChatFlag(String chatFlag)
    {
        this.chatFlag = chatFlag;
    }

    public String getChatFlag()
    {
        return chatFlag;
    }
    public void setRole(Long role)
    {
        this.role = role;
    }

    public Long getRole()
    {
        return role;
    }
    public void setInputType(Integer inputType)
    {
        this.inputType = inputType;
    }

    public Integer getInputType()
    {
        return inputType;
    }
    public void setAnswerType(Integer answerType)
    {
        this.answerType = answerType;
    }

    public Integer getAnswerType()
    {
        return answerType;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public String getRecordContent() {
        return recordContent;
    }

    public void setRecordContent(String recordContent) {
        this.recordContent = recordContent;
    }

    public void setNextChatFlag(String nextChatFlag)
    {
        this.nextChatFlag = nextChatFlag;
    }

    public String getNextChatFlag()
    {
        return nextChatFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("customerId", getCustomerId())
                .append("orderNo", getOrderNo())
                .append("courseNo", getCourseNo())
                .append("chatType", getChatType())
                .append("chatFlag", getChatFlag())
                .append("role", getRole())
                .append("inputType", getInputType())
                .append("answerType", getAnswerType())
                .append("content", getContent())
                .append("nextChatFlag", getNextChatFlag())
                .append("createTime", getCreateTime())
                .toString();
    }
}
